<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>

<title>Клиент</title>
<a href="persons">
	<div class="mybutton">
		К клиентам
	</div>
</a>
<style>
	tr:hover {
		background: white;
		color: black;
	}
</style>
<br><br><br>
<table>
<tr>
	<th>ФИО</th>
	<th>Дата рождения</th>
	<th>Email</th>
	<th>Телефон</th>
</tr>
<tbody>
	<tr>
		<td>${person.first_name} ${person.middle_name} ${person.last_name}</td>
		<td>${string}</td>
		<td>${person.email}</td>
		<td>${person.phone_number}</td>
	</tr>
</tbody>
</table>
<a href="person_order?id=${person.id}"> 
	<div class="mybutton">
		Заказы
	</div>
</a>
<a href="person_delete?id=${person.id}"> 
	<div class="mybutton">
		Удалить
	</div>
</a>
<a href="person_edit?id=${person.id}"> 
	<div class="mybutton">
		Изменить информацию
	</div>
</a>
<%@ include file="/WEB-INF/jsp/footer.jsp" %>